package com.media.themovieworld.screen.detail;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.media.themovieworld.common.fragment.MovieTaskScreen;
import com.media.themovieworld.model.MovieItemModel;
import com.media.themovieworld.player.FilmPartManage;

public class MoviePagerInfoScreen extends MovieTaskScreen{

	@Override
	protected View onCreateContentView(LayoutInflater inflater,
			ViewGroup container) {
		TextView text = new TextView(getActivity());
		MovieItemModel mMovieData = FilmPartManage.getInstance().getCurrentFilmData();
		if (mMovieData!=null && mMovieData.description!=null) {
			text.setText(mMovieData.description);
		}
		return text;
	}

}
